<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pymsn.event.contact.ContactEventInterface</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://telepathy.freedesktop.org/wiki/Pymsn">pymsn</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;pymsn ::
        <a href="pymsn.event-module.html">Package&nbsp;event</a> ::
        <a href="pymsn.event.contact-module.html">Module&nbsp;contact</a> ::
        Class&nbsp;ContactEventInterface
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ContactEventInterface</h1><p class="nomargin-top"><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface">source&nbsp;code</a></span></p>
<pre class="base-tree">
        object --+    
                 |    
<a href="pymsn.event.BaseEventInterface-class.html">BaseEventInterface</a> --+
                     |
                    <strong class="uidshort">ContactEventInterface</strong>
</pre>

<hr />
<p>Interface allowing the user to get notified about the <a 
  href="pymsn.profile.Contact-class.html" class="link">Contact</a>s 
  events</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">client</span>)</span><br />
      Initializer</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_memberships_changed" class="summary-sig-name">on_contact_memberships_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the memberships of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_memberships_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_presence_changed" class="summary-sig-name">on_contact_presence_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the presence of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_presence_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_display_name_changed" class="summary-sig-name">on_contact_display_name_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the display name of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_display_name_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_personal_message_changed" class="summary-sig-name">on_contact_personal_message_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the personal message of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_personal_message_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_current_media_changed" class="summary-sig-name">on_contact_current_media_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the current media of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_current_media_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_infos_changed" class="summary-sig-name">on_contact_infos_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>,
        <span class="summary-sig-arg">infos</span>)</span><br />
      Called when the infos of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_infos_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_client_capabilities_changed" class="summary-sig-name">on_contact_client_capabilities_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the client capabilities of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_client_capabilities_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pymsn.event.contact.ContactEventInterface-class.html#on_contact_msn_object_changed" class="summary-sig-name">on_contact_msn_object_changed</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">contact</span>)</span><br />
      Called when the MSNObject of a contact changes.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_msn_object_changed">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">client</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Initializer</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>client</code></strong> (<a href="pymsn.client.Client-class.html" class="link">Client</a>) - the client we want to be notified for its events</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_memberships_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_memberships_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_memberships_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the memberships of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
<div class="fields">      <p><strong>See Also:</strong>
        <a href="pymsn.profile.Membership-class.html" 
        class="link">Memberships</a>
      </p>
</div></td></tr></table>
</div>
<a name="on_contact_presence_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_presence_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_presence_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the presence of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_display_name_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_display_name_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_display_name_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the display name of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_personal_message_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_personal_message_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_personal_message_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the personal message of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_current_media_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_current_media_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_current_media_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the current media of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_infos_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_infos_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>,
        <span class="sig-arg">infos</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_infos_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the infos of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_client_capabilities_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_client_capabilities_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_client_capabilities_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the client capabilities of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="on_contact_msn_object_changed"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">on_contact_msn_object_changed</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">contact</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pymsn.event.contact-pysrc.html#ContactEventInterface.on_contact_msn_object_changed">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Called when the MSNObject of a contact changes.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>contact</code></strong> (<a href="pymsn.profile.Contact-class.html" 
          class="link">Contact</a>) - the contact whose presence changed</li>
    </ul></dd>
  </dl>
<div class="fields">      <p><strong>See Also:</strong>
        <a href="pymsn.p2p.MSNObjectStore-class.html" 
        class="link">MSNObjectStore</a>, <a 
        href="pymsn.p2p.MSNObject-class.html" class="link">MSNObject</a>
      </p>
</div></td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://telepathy.freedesktop.org/wiki/Pymsn">pymsn</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Aug  2 15:19:16 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
